function homepage()
{
	new Ext.Viewport({
		layout:"border",
		items:[{ 
			id:'west_panel',
			region:'west',
		    title:'菜單功能區',
		    split:true,
		    width: 220,
		    collapsible: true,
		    layout:'accordion',
		    layoutConfig:{
		    	animate:false
		    },
		    items:[{
		    	id:'user_acc',
		        border:false,
		        title:'用戶工作區',
		        iconCls:'work',
		        autoScroll:true,
		        contentEl:'user_acc_contentel'
		    },{
		    	id:'admin_acc',
		        border:false,
		        title:'系統設定區',
		        iconCls:'work',
		        autoScroll:true
		        //contentEl:'MY_ACC_EL'
		    }]
		},{ 
		   id:"contentTabPanel",
		   xtype:"tabpanel", 
		   region:"center",   
		   activeTab:0,  
		   items:[{
			   id:"tab-work",
			   title:"GTC System",
			   iconCls:'tab'
			   //html:"<iframe id='frame_homepage' src='homepage/my.jsp' width='100%' height='100%' frameborder='0' scrolling='auto'></iframe>"
		   }] 
		}]
	});
}
Ext.onReady(homepage);